package com.zxs;

import com.zxs.dao.ADao;
import com.zxs.entity.A;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.Runner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author zxs
 * create: 2021/12/26 17:06
 **/


@SpringBootTest
@RunWith(SpringRunner.class)
public class test {

    @Autowired
    ADao aDao;

    @Test
    public void test01(){
        A a = aDao.selectById(1);
        System.out.println("a = " + a);

    }


}
